from django.conf.urls.defaults import patterns, include, url

# Uncomment the next two lines to enable the admin:
from django.contrib import admin
admin.autodiscover()

urlpatterns = patterns('travel_game.views',
    # Examples:
    # url(r'^$', 'dummy.views.home', name='home'),
    # url(r'^dummy/', include('dummy.foo.urls')),

    # Uncomment the admin/doc line below to enable admin documentation:
    # url(r'^admin/doc/', include('django.contrib.admindocs.urls')),

    # Uncomment the next line to enable the admin:
    #url(r'^admin/', include(admin.site.urls)),
    url(r'^$','startUp'),
    url(r'^setNames','acceptTeamInfo'),
    url(r'^login','login'),
    url(r'^logout','logout'),
    url(r'^store', 'renderStore'),
    url(r'^activeGames','currentGames'),
    url(r'^loadGame/(\d+)','loadGame'),
    url(r'^day','dayAction'),
    url(r'^sidebar','sidebarView'),
    url(r'^pace','changePace'),
    url(r'^rations','changeRations'),
    url(r'^move', 'move'),
    url(r'^findNextLocation','locationHandler'),
    url(r'^buyItems','buyItems'),
    url(r'^landmark','landmarkAction'),
    url(r'^leaveLandmark','leaveLandmark')
)
